
import Controller from '@/Controller';
import Icon from '@ant-design/icons';
import I001Svg from './imgs/I001.svg?react';
import * as UI from './../../ui';

export function Logo() {
    return (
        <UI.ItemCont onClick={() => { Controller.instance.createTask({ moduleKey: Math.random() > 0.5 ? 'Demo1' : 'Demo2' }) }} >
            <Icon component={I001Svg} style={{ fontSize: 28 }} />
        </UI.ItemCont>
    )
}